package com.ad.mapper;

import com.api.entity.PromotionAd;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author wang
 * @create 2021-08-31 15:48
 */
@Service
public interface AdDao extends BaseMapper<PromotionAd> {

    List<PromotionAd> getAdsBySpaceId(@Param("spaceid") Integer sid);
}
